import * as type from './type'

export default {
    [type.MODIFY_HOME] (state, action) {
        state.homes = action.payload
    },
    [type.MODIFY_COUPON] (state, action) {
        state.coupons = action.payload
    },
    [type.MODIFY_MOBILE5] (state, action) {
        state.mobile5 = action.payload
    },
    [type.MODIFY_INSTRUMENT] (state, action) {
        state.instrument = action.payload
    }
}